var t = require("../../EA9BD637C63E4BDF8CFDBE30C6897135.js");

Component({
    properties: {
        tabItem: Object,
        item: Object,
        index: Number,
        source: Number,
        date: String
    },
    data: {},
    methods: {
        cancelBut: function(e) {
            var a = '{"event":"home_recommend_face_click","key":{"id":' + this.data.item.id + "}}";
            t.wxLog(a);
            var i = e.target.dataset.id, d = e.target.dataset.idx, r = e.target.dataset.itempic, s = JSON.stringify(this.data.tabItem), c = this.data.date;
            wx.setStorageSync("tabItem", s), wx.navigateTo({
                url: "/pages/headDetails/headDetails?id=" + i + "&idx=" + d + "&itempic=" + r + "&date=" + c + "&thistype=" + this.data.source
            });
        }
    }
});